package data;

/**
 * States that the object is orderable by date.
 * @author Frans Honig, Maxime Serrano, Raphael Townshend
 * @param <T> The object that will be ordered.
 */
public interface DateComparable<T> extends Comparable<T>
{
	/**
	 * Same as compareTo, but with dates instead.
	 * @param o The thing to compare to.
	 * @return The comparison constant.
	 */
	public int compareToDate(T o);
}
